HAL RTC constants

RTC alarm mask defines.

group RTC_Exported_Constants_Alarm_Mask

Defines

HAL_RTC_ALARM_MASK_NONE LL_RTC_ALMA_MASK_NONE

All day and time values are considered to trigger the alarm

HAL_RTC_ALARM_MASK_DAY LL_RTC_ALMA_MASK_DATEWEEKDAY

The day/weekday value is ignored

HAL_RTC_ALARM_MASK_HOURS LL_RTC_ALMA_MASK_HOURS

The hour value is ignored

HAL_RTC_ALARM_MASK_MINUTES LL_RTC_ALMA_MASK_MINUTES

The minute value is ignored

HAL_RTC_ALARM_MASK_SECONDS LL_RTC_ALMA_MASK_SECONDS

The second value is ignored

HAL_RTC_ALARM_MASK_ALL LL_RTC_ALMA_MASK_ALL

All day and time values are ignored

RTC wake-up timer interrupt defines.

group RTC_Exported_Constants_Wakeup_Timer_Interrupts

Defines

HAL_RTC_WAKEUP_IT_DISABLE LL_RTC_WAKEUP_TIMER_IT_DISABLE

Wake-up interrupts are disabled

HAL_RTC_WAKEUP_IT_ENABLE LL_RTC_WAKEUP_TIMER_IT_ENABLE

Wake-up interrupts are enabled

RTC alarm interrupt defines.

group RTC_Exported_Constants_Alarm_Interrupts

Defines

HAL_RTC_ALARM_IT_DISABLE LL_RTC_ALMA_IT_DISABLE

Alarm interrupts are disabled

HAL_RTC_ALARM_IT_ENABLE LL_RTC_ALMA_IT_ENABLE

Alarm interrupts are enabled

RTC privilege attributes configuration items

group RTC_privilege_attributes_configuration_items

Defines

HAL_RTC_PRIV_ITEM_ALRAPRIV LL_RTC_PRIV_ITEM_ALRAPRIV

Privilege attribute of alarm A and underflow protection

HAL_RTC_PRIV_ITEM_ALRBPRIV LL_RTC_PRIV_ITEM_ALRBPRIV

Privilege attribute of alarm B protection

HAL_RTC_PRIV_ITEM_WUTPRIV LL_RTC_PRIV_ITEM_WUTPRIV

Privilege attribute of wake-up timer protection

HAL_RTC_PRIV_ITEM_TSPRIV LL_RTC_PRIV_ITEM_TSPRIV

Privilege attribute of timestamp protection

HAL_RTC_PRIV_ITEM_CALPRIV LL_RTC_PRIV_ITEM_CALPRIV

Privilege attribute of shift register, daylight saving, calibration and reference clock protection

HAL_RTC_PRIV_ITEM_INITPRIV LL_RTC_PRIV_ITEM_INITPRIV

Privilege attribute of initialization protection

HAL_RTC_PRIV_ITEM_PRIV LL_RTC_PRIV_ITEM_PRIV

Privilege attribute of RTC global protection

HAL_RTC_PRIV_ITEM_ALL LL_RTC_PRIV_ITEM_ALL

Privilege attribute of all RTC resources

LL_RTC_ATTR_NPRIV 0UL

Non-privileged attribute

LL_RTC_ATTR_PRIV 1UL

Privileged attribute

LL_RTC_PRIV_ITEM_ALRAPRIV RTC_PRIVCFGR_ALRAPRIV

Privilege attribute of Alarm A and underflow protection

LL_RTC_PRIV_ITEM_ALRBPRIV RTC_PRIVCFGR_ALRBPRIV

Privilege attribute of Alarm B protection

LL_RTC_PRIV_ITEM_WUTPRIV RTC_PRIVCFGR_WUTPRIV

Privilege attribute of Wake-up timer protection

LL_RTC_PRIV_ITEM_TSPRIV RTC_PRIVCFGR_TSPRIV

Privilege attribute of Timestamp protection

LL_RTC_PRIV_ITEM_CALPRIV RTC_PRIVCFGR_CALPRIV

Privilege attribute of Shift register, daylightcalibration and reference clock protection

LL_RTC_PRIV_ITEM_INITPRIV RTC_PRIVCFGR_INITPRIV

Privilege attribute of Initialization protection

LL_RTC_PRIV_ITEM_PRIV RTC_PRIVCFGR_PRIV

Privilege attribute of RTC global protection

LL_RTC_PRIV_ITEM_ALL

(RTC_PRIVCFGR_ALRAPRIV | RTC_PRIVCFGR_ALRBPRIV | RTC_PRIVCFGR_WUTPRIV | \

RTC_PRIVCFGR_TSPRIV | RTC_PRIVCFGR_CALPRIV | RTC_PRIVCFGR_INITPRIV | \

RTC_PRIVCFGR_PRIV )


All RTC resources configuration item

Defines

LL_RTC_WAKEUP_TIMER_IT_DISABLE 0U

Wake-up timer interrupt disable

LL_RTC_WAKEUP_TIMER_IT_ENABLE RTC_CR_WUTIE

Wake-up timer interrupt enable

Defines

LL_RTC_ALMA_IT_DISABLE 0U

Alarm A interrupt disable

LL_RTC_ALMA_IT_ENABLE RTC_CR_ALRAIE

Alarm A interrupt enable

Defines

LL_RTC_ALMB_IT_DISABLE 0U

Alarm B interrupt disable

LL_RTC_ALMB_IT_ENABLE RTC_CR_ALRBIE

Alarm B interrupt enable

Defines

LL_RTC_TIMESTAMP_IT_DISABLE 0U

Timestamp interrupt disable

LL_RTC_TIMESTAMP_IT_ENABLE RTC_CR_TSIE

Timestamp interrupt enable

Defines

LL_RTC_SSRU_IT_DISABLE 0U

SSR underflow interrupt disable

LL_RTC_SSRU_IT_ENABLE RTC_CR_SSRUIE

SSR underflow interrupt enable